/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.dao.user;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.access.method.P;

/**
 * 用户管理DAO接口
 *
 * @author 罗天文
 * @version 2018-06-15
 */
@MyBatisDao
public interface HkUserDao extends CrudDao<HkUser> {

    HkUser getHkUser(@Param("manageId") String managerId);


    void deduction(@Param("manageId") String manageId, @Param("integral") Integer integral);

    void updatePwdByMobile(@Param("mobile") String mobile, @Param("password") String password);


    void addIntegral(@Param("manageId") String manageId, @Param("integral") Double integral);

}